package com.platform.common.core.domain.export;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * @Author mymac
 * @Date 2024/7/10 5:15 PM
 * @Version 1.0
 */
@Data
public class DepartGjjCheckListExportDTO {

    @Excel(name = "提运单号", sort = 0)
    private String billId;

    @Excel(name = "航班航次编号", sort = 1)
    private String flightNo;

    @Excel(name = "目的站", sort = 5)
    private String destName;

    @Excel(name = "结算用户", width = 50)
    private String payeeName;

    @Excel(name = "货物类别", sort = 6)
    private String cargoType;

    @Excel(name = "收费类别")
    private String categoryName;

    @Excel(name = "收费规则", width = 30)
    private String ruleName;

    @Excel(name = "数量", cellType = Excel.ColumnType.NUMERIC)
    private Long pc;

    @Excel(name = "毛量", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal weight;

    @Excel(name = "费率")
    private BigDecimal rate;

    @Excel(name = "金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal amount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "业务类型",readConverterExp = "0=一般贸易,1跨境电商")
    private String serviceType;

}
